package junit.base;

import org.junit.Test;
import   static  org.junit.Assert. * ;

/**
 * Created by zhaott on 2018/9/18.
 */
public class JunitDemo02 {

    @Test
    public void demo02(){
        Object user=this.getUserById();
        assertNotNull(user);
    }

    /**
     * 模拟service中的方法
     * @return
     */
    private Object getUserById(){
        return null;
    }

}

